package com.wyh.domain.vo.groupOne.contractManagement;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;


@AllArgsConstructor
@NoArgsConstructor
@Data
public class ContractitemVO {

    private Integer id;


    /**
     * 费项名称
     */
    private String name;

    /**
     * 计费公式
     */
    private String formula;

    /**
     * 计费方式,1：当月缴当月，2：当月缴上月
     */
    private Integer method;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 开始计费日期
     */
    private LocalDateTime starttime;

    /**
     * 三表名称
     */
    private String meterName;

    /**
     * 初始读数
     */
    private Integer Initialreading;


    public ContractitemVO(Integer id, String name, Integer method, BigDecimal price, LocalDateTime starttime, Integer initialreading) {
        this.id=id;
        this.name=name;
        this.method=method;
        this.price=price;
        this.starttime=starttime;
        this.Initialreading=initialreading;
    }
}
